package com.qf.controller;


import com.qf.pojo.BaseResult;
import com.qf.serevice.PatientInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Package: com.qf.controller
 * @ClassName: PaitentInfoController
 * @Author: 王旭博
 * @CreateTime: 2021/10/29 14:23
 * @Description :
 */
@RestController
@RequestMapping("/patientInfo")
public class PatientInfoController {
    @Autowired
    PatientInfoService patientInfoService;
    @RequestMapping(value = "/findAll",method = RequestMethod.GET)
    public BaseResult findAllPatientInfo(){
        BaseResult allPatientInfo = patientInfoService.findAllPatientInfo();
        return allPatientInfo;
    }
}
